package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import com.ssy.lingxi.member.merchant.api.handler.annotation.EnableDisableStatusAnno;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 修改角色状态VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-10-23
 */
public class RoleUpdateStatusVO implements Serializable {
    private static final long serialVersionUID = -1904468015412563868L;

    /**
     * 角色Id
     */
    @NotNull(message = "角色Id要大于0")
    @Positive(message = "角色Id要大于0")
    private Long roleId;

    /**
     * 状态： 0-禁用，1-启用
     */
    @NotNull(message = "状态不能为空")
    @EnableDisableStatusAnno(message = "状态取值：0-禁用，1-启用")
    private Integer status;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
